package com.biubiux2.codec;

/**
 * @author Lijinbao
 * @since 8/5/2022 9:49 AM
 */
public interface Serializer {

    <T> T deserialize(Class<T> tClass,byte[] bytes);

    <T> byte[] serialize(T object);

}
